package com.erp.pojo;

import com.fasterxml.jackson.annotation.JsonFormat;
import lombok.Data;
import org.springframework.format.annotation.DateTimeFormat;

import java.math.BigDecimal;
import java.util.Date;

@Data
public class Shoplist {
    private Integer shopId;

    private String shopName;

    private BigDecimal shopPrice;

    private Integer shopNum;

    private String shopType;

    @JsonFormat(pattern = "yyyy-MM-dd", timezone = "GMT+8")
    @DateTimeFormat(pattern = "yyyy-MM-dd")
    private Date shopDate;

    private Integer state;
}